#ifndef __ROMFS_H_
#define __ROMFS_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include "system.h"


#define ROMFS_DIRENT_FILE   0x00
#define ROMFS_DIRENT_DIR    0x01


struct romfs_dirent
{
    uint32_t type;
    const char *name;
    const uint8_t *data;
    uint32_t size;
};


int romfs_dfs_register(void);


#ifdef __cplusplus
}
#endif

#endif // __ROMFS_H_
